package com.zl.pojo;

import java.util.List;

/**
 * @Author ljm
 * @Date 2021-11-17 11:03
 */
public class Role {
    private Integer id;
    private String roleName;
    private Integer roleId;
    private List<Power> powers;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public List<Power> getPowers() {
        return powers;
    }

    public void setPowers(List<Power> powers) {
        this.powers = powers;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                ", roleId=" + roleId +
                ", powers=" + powers +
                '}';
    }
}
